let host = "http://route.showapi.com";

const weiboUri = host + "/254-1"; //微博的接口;
const funnyUri = host + "/107-33"; //来福岛笑话;
const newsUri = host + "/582-2"; //微信精选文章;
const showapi_appid = 43544;
const showapi_sign = "f151359ee58a4e42bb1a8b81c44366ee";
const space = "day";
// const baseUrl = baseUri + `?showapi_appid=${showapi_appid}&showapi_sign=${showapi_sign}&space=${space}`

const baseUrl = `?showapi_appid=${showapi_appid}&showapi_sign=${showapi_sign}`;
const weiboUrl = weiboUri + baseUrl + `&space=${space}`;
export const API_CONFIG = {
	network: `${weiboUrl}&typeId=1`,
	pet: `${weiboUrl}&typeId=9`,
	science: `${weiboUrl}&typeId=2`,
	humanify: `${weiboUrl}&typeId=7`,
	funny: `${weiboUrl}&typeId=11`,
	variety: `${weiboUrl}&typeId=19`,
	funUrl: funnyUri + baseUrl,
	newsUrl: newsUri + baseUrl,
}
